<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<style type="text/css">



</style>



<body>
<!-- <div>
<p><span>姓名：</span> <span id="sname"></span></p>
<p><span>年龄：</span> <span></span id="sage"></p>
<p><span>朋友：</span> <span></span id="sfriends"></p>
</div> -->



<div class="profile">

<select id="sldiv">
<option>广西</option>
</select>省

<select id="sldiv1">
<option>柳州</option>
</select>市

<select>
<option>城中区</option>
</stlect>区

</div>

<script type="text/javascript" src="ssff/js/jquery3.js"></script>
<script type="text/javascript">

$.get('ssff/json/sf.json',function(res){

	$('#sldiv').empty();

	for(var i=0;i<res.length;i++){
	$('#sldiv').append('<option>'+res[i].name+'</option>');

	console.log(res);

}
});



$(.sldiv1).change(function(res){
var pid=$(th:s).val();
var =tmp[];
    $('ssff/json/gf.json',function(res){
	if(pid==res[i].pid){
	tmp.push(res[i])
	};


})
	
})


</script>



	
</body>
</html>